package com.unittec.zk.provider.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.unittec.zk.provider.root.EntityRoot;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author wuxinwei
 */
@Data
@Accessors(chain = true)
@TableName("import_task")
@EqualsAndHashCode(callSuper = false)
public class ImportTaskEntity extends EntityRoot implements Serializable {

    private static final long serialVersionUID = -9172818937926183865L;
    private Integer total;
    /**
     * 处理状态0: 待处理，1：处理中，2：处理完成，3：处理失败
     */
    private String status;
    private String filePath;
    private String resultFilePath;
    private int successful;
    private String remark;
    private String companyId;

    private String consumer;

    private String type;

    private String originalFileName;

    @TableField(exist = false)
    private Integer lastRowIndex;

}
